package com.ysz.lock;

/**
 * @ClassName Result
 * @Description 内部加锁逻辑封装返回细节
 * @Data 13:50
 * @Version 1.0
 * @Author ysz
 */
public class Result {
    private final boolean getsTheLock;
    private final String pathToWatch;

    public Result(boolean getsTheLock, String pathToWatch) {
        this.getsTheLock = getsTheLock;
        this.pathToWatch = pathToWatch;
    }

    public boolean isGetsTheLock() {
        return getsTheLock;
    }

    public String getPathToWatch() {
        return pathToWatch;
    }
}

